global_var = 1
global_list = []


def some_func():
    global_var = 2
    global_list.append(1)
    global_list.append(2)


if __name__ == '__main__':
    some_func()
    print(global_var, global_list)  # 1 [1, 2]
